//统一管理项目用户的接口
import request from '../../utils/request';
import type { loginForm ,loginResponseData,userResponseData} from './type';
//统一管理接口
enum API{
    LOSIN_URL = '/user/login',
    USERINFO_URL= "user/info"
}
//<any,loginResponseData>
//<any,userResponseData>
export const reqLogin = (data:loginForm) => request.post(API.LOSIN_URL,data);
export const reqUserInfo = () => request.get(API.USERINFO_URL)